WCML\Compatibility\WcProductAddons\MulticurrencyHooks A

Total Complexity 57
Dependencies 5
Dependents 1
Total lines 332
Lines of code 181
Logical lines of code 82
Comment lines 93
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
product_addons_price_filter()
S
59 6 14
update_custom_prices_values()
S
56 5 18
saveGlobalAddonPricesSetting()
S
65 6 8
converted_addon_price()
S
58 4 15
filter_booking_addon_product_in_cart_contents()
S
62 4 11
updateMultipleOptionsPrices()
S
61 4 11
getPricesDialogModel()
S
55 3 18
isProductCustomPricesOn()
S
66 3 9
getGlobalAddonPricesStatus()
S
66 3 8
dialog_button_after_option_row()
S
71 3 5
add_hooks()
S
59 2 13
maybeUpdateCustomPricesValues()
S
74 2 5
dialog_button_before_options()
S
77 2 3
updateSingleOptionPrices()
S
69 2 6
getCustomPricesSettingsModel()
S
63 1 11
__construct()
S
81 1 3
onGlobalAddonsUpdated()
S
81 1 3
getTwigLoader()
S
79 1 3
renderEditPriceElement()
S
79 1 3
custom_prices_settings_block()
S
79 1 3
load_dialog_resources()
S
77 1 3
getOnePriceTypes()
S
69 1 8